package com.lyubia.shop.common.utils;

import com.lyubia.shop.common.exception.ParamsException;

/**
 * 判断是否正确
 */
public class AssertUtil {

    public  static void isTrue(Boolean flag,String msg){
        if(flag){
            throw  new ParamsException(msg);
        }
    }

}
